package com.dkm.ec.so.persistence.entity;
import java.util.Date;

import org.apache.commons.lang.builder.ToStringBuilder;

import com.dkm.base.api.annotion.IField;
import com.dkm.base.api.annotion.ITable;
import com.dkm.base.db.persistence.entity.AbstractPo;

/**
 * 对象功能:订单项目退货 Tbl对象
 * 开发公司:dkm.com
 * 开发人员:ZHH
 * 创建时间:2017-06-16 19:01:52
 */
 @ITable(name="soItemReturn",code="skg_so_item_return")
public class SoItemReturnTbl extends AbstractPo<String>{
	@IField(name="id",column="id_")
	protected String  id; 		/*ID*/
	@IField(name="soId",column="so_id_")
	protected String  soId; 		/*从属订单 ID*/
	@IField(name="itemId",column="item_id_")
	protected String  itemId; 		/*从属订单项目 ID*/
	@IField(name="bizType",column="biz_type_")
	protected String  bizType; 		/*return=退货退款；exchange=换货*/
	@IField(name="entityId",column="entity_id_")
	protected String  entityId; 		/*单据 ID*/
	@IField(name="status",column="status_")
	protected String  status; 		/*processing=处理中；cancel=取消；done=已完成*/
	@IField(name="count",column="count_")
	protected Integer  count; 		/*退货数量*/
	@IField(name="createTime",column="create_time_")
	protected java.util.Date  createTime; 		/*创建时间*/
	
	
	public void setId(String id) 
	{
		this.id = id;
	}
	/**
	 * 返回 ID
	 * @return
	 */
	public String getId() 
	{
		return this.id;
	}
	public void setSoId(String soId) 
	{
		this.soId = soId;
	}
	/**
	 * 返回 从属订单 ID
	 * @return
	 */
	public String getSoId() 
	{
		return this.soId;
	}
	public void setItemId(String itemId) 
	{
		this.itemId = itemId;
	}
	/**
	 * 返回 从属订单项目 ID
	 * @return
	 */
	public String getItemId() 
	{
		return this.itemId;
	}
	public void setBizType(String bizType) 
	{
		this.bizType = bizType;
	}
	/**
	 * 返回 return=退货退款；exchange=换货
	 * @return
	 */
	public String getBizType() 
	{
		return this.bizType;
	}
	public void setEntityId(String entityId) 
	{
		this.entityId = entityId;
	}
	/**
	 * 返回 单据 ID
	 * @return
	 */
	public String getEntityId() 
	{
		return this.entityId;
	}
	public void setStatus(String status) 
	{
		this.status = status;
	}
	/**
	 * 返回 processing=处理中；cancel=取消；done=已完成
	 * @return
	 */
	public String getStatus() 
	{
		return this.status;
	}
	public void setCount(Integer count) 
	{
		this.count = count;
	}
	/**
	 * 返回 退货数量
	 * @return
	 */
	public Integer getCount() 
	{
		return this.count;
	}
	public void setCreateTime(java.util.Date createTime) 
	{
		this.createTime = createTime;
	}
	/**
	 * 返回 创建时间
	 * @return
	 */
	public java.util.Date getCreateTime() 
	{
		return this.createTime;
	}
	/**
	 * @see java.lang.Object#toString()
	 */
	public String toString() 
	{
		return new ToStringBuilder(this)
		.append("id", this.id) 
		.append("soId", this.soId) 
		.append("itemId", this.itemId) 
		.append("bizType", this.bizType) 
		.append("entityId", this.entityId) 
		.append("status", this.status) 
		.append("count", this.count) 
		.append("createTime", this.createTime) 
		.toString();
	}
}